/**
 * 
 */
package com.juliashine.domain.report;

/**
 * @author Juliashine@gmail.com 2011-5-27
 *
 */


public class ReportService {

	boolean isExistLocalData(BaseQueryConditon condition){
		
		return false;
	}
	
	Object getLocalData(BaseQueryConditon condition){
		
		return null;
	}
	
	Object getDataFromSSAS(BaseQueryConditon condition){
		
		return null;
	}
	
	public Object getReport(BaseQueryConditon condition){
		if(isExistLocalData(condition))
			return getLocalData(condition);
		
		return getDataFromSSAS(condition);
	}
}
